package VUTHANHPHUC_HOMEWORK_OOP_LV2;

import java.util.Scanner;

public class ParallelogramViews {
	public static void main(String[] args) {
		Parallelogram objC = new Parallelogram();
		Scanner nhap = new Scanner(System.in);
		double shortside;
		double longside;
		double goc;
		System.out.println("Input shortside = ");
		shortside = nhap.nextDouble();
		objC.setShortside(shortside);
		System.out.println("Input longside = ");
		longside = nhap.nextDouble();
		objC.setLongside(longside);
		System.out.println("Input goc = ");
		goc = nhap.nextDouble();
		objC.setGoc(goc);
		ParallelogramControllers par = new ParallelogramControllers(objC);
		System.out.println("" + par.Area(objC));
		System.out.println("" + par.Perimeter(objC));
	}
}
